package com.wsh.lab.business.impl;

import com.wsh.lab.business.IHello;

import java.util.Date;

/**
 * @author wsh
 * @date 2021-11-02 17:59
 */
public class HelloImpl implements IHello {
    private String msg;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String sayHello() {
        return "当前时间：" + new Date() + "，消息：" + msg;
    }
}
